'use strict';

module.exports = {
  up: async (queryInterface, Sequelize) => {
    /**
     * Add seed commands here.
     *
     * Example:
     * await queryInterface.bulkInsert('People', [{
     *   name: 'John Doe',
     *   isBetaMember: false
     * }], {});
    */
     await queryInterface.bulkInsert('Contents', [
      { user_id: 1, title: 'aaaaaa', content: '111111', like_count: 88, comment_count: 2 },
      { user_id: 2, title: 'bb', content: 'bb', like_count: 88, comment_count: 3 },
      { user_id: 1, title: '不不不', content: '牛牛牛牛牛', like_count: 88, comment_count: 5 },
      { user_id: 1, title: '啊啊啊啊啊', content: '的点点滴滴多', like_count: 88, comment_count: 6 },
      { user_id: 1, title: '宝宝贝贝bb', content: '少时诵诗书', like_count: 88, comment_count: 8 }
    ], {})
    
  },

  down: async (queryInterface, Sequelize) => {
    /**
     * Add commands to revert seed here.
     *
     * Example:
     * await queryInterface.bulkDelete('People', null, {});
     */
  }
};
